package zhr.chapter5.two;

public class Example5_2 {
    public static void main(String[] args) {
        ClassB b = new ClassB();
        b.setX(888);
        System.out.println("子类对象未继承的x的值是："+b.getX());
        b.setY(12.678);
        System.out.println("子类对象的实例变量y的值是："+b.getY());
    }
}
